<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui" template="template.xhtml">

	<ui:define name="head"></ui:define>
	<ui:define name="right"></ui:define>
	<ui:define name="content">

		<p:growl id="growl" showDetail="true" sticky="true" />

		<p:panel header="#{msgs.recuperar_senha}" visible="true" closable="false"
			draggable="false" resizable="false" width="420">
			
			<h:form prependId="false">
				<h:panelGrid columns="2" cellpadding="5">
					<h:outputLabel for="username" value="#{msgs.form_login}: *" />
					<p:inputText id="username" required="true"
						value="#{usuarioMB.username}" />

					<p:commandButton value="#{msgs.recuperar_senha}" id="recuperarSenha"
						styleClass="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						actionListener="#{usuarioMB.recuperarSenha}" update="growl" />

				</h:panelGrid>
				<h:link value="#{msgs.login}" outcome="login.jsf" /> | 
				 <h:link value="#{msgs.registrar_novo_usuario}" outcome="usuario_registrar.jsf" />
			</h:form>

		</p:panel>

		<div class="clearer"></div>
	</ui:define>

</ui:composition>